package com.minxi.web.service.impl;

import com.minxi.web.service.UserService;

public class UserServiceImpl  implements UserService {
    @Override
    public Boolean add(UserInfo userInfo) {
        UserDao userDao = new UserDaoImpl();
        return userDao.add(userInfo);
    }

    @Override
    public List<UserInfo> list() {
        UserDao userDao = new UserDaoImpl();
        List<UserInfo> list = userDao.list();
        return list;
    }


}
